﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" CodeBehind="ViewProfile.aspx.cs" Inherits="WebApp.ViewProfile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <table style="width:87%;">
        <tr>
            <td style="width: 168px">
                <h1>
                    &nbsp;</h1>
            </td>
            <td style="width: 363px">
                <span style="font-size: xx-large; color: #D93E39">Welcome </span>&nbsp;&nbsp;
                <asp:Label ID="lblname" runat="server" Text="Label" Font-Size="Large"></asp:Label>
                <asp:Label ID="guestid" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width: 168px; color: #D8544F;">
                <h3>
                    &nbsp;</h3>
            </td>
            <td style="width: 363px">
                <span style="font-size: xx-large">View </span>&nbsp;
                <asp:LinkButton ID="LinkButton1" runat="server" 
                    PostBackUrl="~/ViewOrdersforUser.aspx" Font-Size="X-Large">Orders</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td style="width: 168px">
                &nbsp;</td>
            <td style="width: 363px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 168px">
                </td>
            <td style="width: 363px">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    EnableModelValidation="True" Width="792px">
                    <Columns>
                        <asp:BoundField DataField="cusID" HeaderText="ID" />
                        <asp:BoundField DataField="username" HeaderText="UserName" />
                        <asp:BoundField DataField="password" HeaderText="Password" />
                        <asp:BoundField DataField="name" HeaderText="Name" />
                        <asp:BoundField DataField="address" HeaderText="Address" />
                        <asp:BoundField DataField="phone" HeaderText="Phone" />
                        <asp:BoundField DataField="totalorders" HeaderText="Total Orders" />
                        <asp:BoundField DataField="totalprice" HeaderText="Total Price" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="width: 168px">
                &nbsp;</td>
            <td style="width: 363px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 168px">
                &nbsp;</td>
            <td style="width: 363px">
                <asp:Button ID="btnOK" runat="server" Text="OK" onclick="btnOK_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
